package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserPointLogDao;
import io.wdb.modules.generator.generator.entity.UserPointLogEntity;
import io.wdb.modules.generator.generator.service.UserPointLogService;



@Service("userPointLogService")
public class UserPointLogServiceImpl implements UserPointLogService {
	@Autowired
	private UserPointLogDao userPointLogDao;
	
	@Override
	public UserPointLogEntity queryObject(Long id){
		return userPointLogDao.queryObject(id);
	}
	
	@Override
	public List<UserPointLogEntity> queryList(Map<String, Object> map){
		return userPointLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userPointLogDao.queryTotal(map);
	}
	
	@Override
	public void save(UserPointLogEntity userPointLog){
		userPointLogDao.save(userPointLog);
	}
	
	@Override
	public void update(UserPointLogEntity userPointLog){
		userPointLogDao.update(userPointLog);
	}
	
	@Override
	public void delete(Long id){
		userPointLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userPointLogDao.deleteBatch(ids);
	}
	
}
